<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2008 XBRL International. All Rights Reserved. -->
<?xml-stylesheet type="text/xsl" href="../stylesheets/functionDefinition.xsl"?>
<function
  xmlns="http://xbrl.org/2008/function" 
  xmlns:reg="http://xbrl.org/2008/registry" 
  xmlns:xhtml="http://www.w3.org/1999/xhtml" 
  xmlns:xfi="http://www.xbrl.org/2008/function/instance" 
  xmlns:xfie="http://www.xbrl.org/2008/function/instance/error" 
  xmlns:xbrli="http://www.xbrl.org/2003/instance" 
  xmlns:xlink="http://www.w3.org/1999/xlink" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="
  http://xbrl.org/2008/registry ../schemas/registry.xsd
  http://xbrl.org/2008/function ../schemas/function.xsd
  ">

  <lastUpdated moment="2008-02-05T00:00:00" />

  <owners>
    <reg:owner id="geoff">
       <reg:name>Geoff Shuetrim</reg:name>
       <reg:affiliation>Galexy</reg:affiliation>
       <reg:email>geoff@galexy.net</reg:email>
       <reg:assumedOwnership moment="2008-02-05T08:36:00" />
    </reg:owner>
  </owners>

  <summary>
    Obtains an ordered sequence of QNames of the elements that the concept
    is in the substitution group for.
  </summary>

  <documentation>
  </documentation>

  <signature name="xfi:concept-substitutions">
    <input name="concept-name" type="xs:QName"/>
    <output type="xs:QName+">
      <xhtml:p>
        Returns an ordered sequence of QNames of the elements that the concept
        is in the substitution group for.
      </xhtml:p>
      <xhtml:p>
        The sequence begins with the QName that is specified in the
        xs:substitutionGroup attribute on the concept declaration and
        ends with either the QName for the xbrli:item or the xbrli:tuple
        element.
      </xhtml:p>
    </output>
  </signature>

  <error code="xfie:invalidConceptQName">
    <xhtml:p>
      This error MUST be thrown if the concept name parameter contains a
      QName that is not the QName of a concept in the reference discoverable
      taxonomy set.
    </xhtml:p>
  </error>

  <conformanceTest xlink:type="simple" xlink:href="90206 xfi.concept-substitutions testcase.xml"/>

  <revisions>
    <reg:revision on="2008-02-05T10:00:00" by="geoff">
      <xhtml:p>
        Created the function definition.
      </xhtml:p>
    </reg:revision>
  </revisions>

</function>
